import layerClassification
import iterateClassification
import optimizeClassification

if __name__ == '__main__':
    a = ['YvesX', '4444', 'To be or not to be',
         '2333333333', '天若有情天亦老', '3.14159', '+1s', 'SMALL LION']
    b = ['123456', 'passwd', '/script>//--',
         'qwerty123456789']
    c = ['佛', '伊斯兰', '基督', '道', '释', '法', '密宗','儒']
    d = ['Bitcoin', 'Bitcoin Cash', 'Ripple', '/script>//--', 'Ethereum', 'Litecoin', 'Dash', 'Ethereum Classic', 'Enterprise Operation System']
    e = ['肖华宇', '李亚泽', '江伟杰', '王晓涛', '陈丁']
    test = d
    print("请输入成员列表:")
    print(test)
#    print("Classification:")
    res1 = layerClassification.process(test)
#    print(res1[0])
#    print(res1[1])
#    print("Solutions:")
    res2 = iterateClassification.process(res1)
#    print(res2[0])
    res3 = optimizeClassification.process(res2)
    print("异端已分离，接受审判:")
    print(res3[0])
    print(res3[1])
